package models

import (
	"gitee.com/libwiki/go-zero-lib/package/orm/vars"
)

type IDField struct {
	ID uint `gorm:"primary_key" json:"id"`
}
type TimeField struct {
	CreatedAt vars.Datetime `json:"created_at"`
	UpdatedAt vars.Datetime `json:"updated_at"`
}
type DeleteField struct {
	DeletedAt vars.Datetime `json:"deleted_at"`
}
type BaseModel struct {
	IDField
	TimeField
}
